//
//  JFBOrderGoodsProductDS.h
//  ios-supplier
//
//  Created by Benlai on 15/8/17.
//  Copyright (c) 2015年 feynmanyuan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JFBOrderGoodsProductDS : NSObject
/*
 ///品牌ID
 @property (nonatomic, assign) NSUInteger brand_id;
 ///一级分类
 @property (nonatomic, assign) NSUInteger category1_id;
 ///库存
 @property (nonatomic, assign) NSUInteger inventory_qty;
 ///商品ID
 @property (nonatomic, assign) NSUInteger product_id;
 ///商家ID
 @property (nonatomic, assign) NSUInteger shop_id;
 ///商品状态   1为上架
 @property (nonatomic, assign) NSUInteger status;
 ///商品单位
 @property (nonatomic, strong) NSString *model_name;
 ///商品名称
 @property (nonatomic, strong) NSString *product_name;
 ///规格单位
 @property (nonatomic, strong) NSString *weight_name;
 ///规格
 @property (nonatomic, strong) NSString *weight_value;
 ///出货价
 @property (nonatomic, strong) NSDecimalNumber *out_price;
 */


@property (nonatomic, strong) NSArray *openTimes;
//购买数量
@property (nonatomic, assign) NSInteger buyCount;

///供应商ID
@property (nonatomic,assign) NSInteger supplierId;
///供应商产品ID
@property (nonatomic,assign) NSInteger productId;
///供应商产品库存数
@property (nonatomic,assign) NSInteger productStock;
///供应商产品进货价，精确到小数点后两位
@property (nonatomic,copy) NSString *productPrice;
///供应商产品税率 无意义
@property (nonatomic,assign) NSInteger taxRate;
///商品图片
@property (nonatomic,  copy) NSString *photoUrl;
///商品名称
@property (nonatomic,  copy) NSString *merchantProductName;
///商品规格
@property (nonatomic,  copy) NSString *productSpec;
///商品ID
@property (nonatomic,assign) NSInteger merchantProductId;
///商品编码
@property (nonatomic,  copy) NSString *merchantProductCode;
///产品编码
@property (nonatomic,  copy) NSString *productCode;
///产品名称
@property (nonatomic,  copy) NSString *productName;
///产品条形码
@property (nonatomic,  copy) NSString *productBarcode;
///产品类目ID
@property (nonatomic,assign) NSInteger productCategoryId;
///产品类目名称
@property (nonatomic,  copy) NSString *productCategoryName;
///产品品牌ID
@property (nonatomic,assign) NSInteger productBrandId;
///产品品牌名称
@property (nonatomic,  copy) NSString *productBrandName;
///是否精品 ,true 精品   false非精品
@property (nonatomic,assign) NSInteger isHighQuality;
- (instancetype)initWithAttributes:(NSDictionary *)attributes;

+ (NSURLSessionDataTask *)loadProductList:(void (^)(NSArray *menuList, NSError *error))block withUT:(NSString *)ut withLabelId:(NSInteger)labelId withCompanyId:(NSInteger)companyId withCateTreeId:(NSInteger)cateTreeId withCateTreeNodeId:(NSInteger)cateTreeNodeId withLimitClauseCount:(NSInteger)limitClauseCount withLimitClauseStart:(NSInteger)limitClauseStart;


@end
